//
//  RoaApi.h
//  MySpaceID.Demo
//
//  Created by Haider Sabri on Thursday10/15/09.
//  Copyright 2009 MySpace, Inc.. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SecurityContext.h"

@interface RoaApi : NSObject<OAResponseDelegate> {
	SecurityContext *context;
	NSData *responseData;
}

@property (nonatomic, assign) SecurityContext* context;
@property (nonatomic, assign) NSData* responseData;

+ (RoaApi*) apiWithContext:(SecurityContext*) context;
- (void) addPhoto:(NSInteger)userId albumId:(NSInteger)albumId caption:(NSString*)caption photoData:(NSData*)photoData imageType : (NSString*) imageType;
- (void) addPhoto:(NSInteger)userId albumId:(NSInteger)albumId caption:(NSString*)caption photo:(UIImage*)photo;

@end